Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

up to date sasl/saslwrapper.cpp #15

Closed
wants to merge 4 commits into from
Closed

Conversation

Tagar
Copy link

@Tagar Tagar commented Nov 12, 2019

regenerated sasl/saslwrapper.cpp with most recent Cython, with current cyrus-sasl.x86_64 :
cyrus-sasl-devel.x86_64 2.1.26-23.el7

@Tagar
Copy link
Author

Tagar commented Nov 12, 2019

cc @toddlipcon - please review

thank you.

@Tagar
Copy link
Author

Tagar commented Nov 12, 2019

This PR fixes runtime linking error on EL6 platform - was getting

>>>
>>> from impala.dbapi import connect
>>>
>>> connect(host='some.redacted.host', port=21055, use_ssl=True, auth_mechanism='GSSAPI')
Traceback (most recent call last):
  File "/opt/cloudera/parcels/Anaconda3/lib/python3.6/site-packages/impala/_thrift_api.py", line 194, in get_transport
    import sasl  # pylint: disable=import-error
  File "/opt/cloudera/parcels/Anaconda3/lib/python3.6/site-packages/sasl/__init__.py", line 15, in <module>
    from sasl.saslwrapper import *
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/cloudera/parcels/Anaconda3/lib/python3.6/site-packages/sasl/saslwrapper.cpython-36m-x86_64-linux-gnu.so)

with this PR it installs and runs fine on both EL6 and EL7

@Tagar
Copy link
Author

Tagar commented Nov 12, 2019

cc @wesm please help review

thanks !

@elukey
Copy link

elukey commented Nov 29, 2019

Adding my voice to this pull request, it would be really great if this library was maintained, it is an essential working tool for the python community :)

Thanks @Tagar for the work!

@wesm
Copy link
Contributor

wesm commented Nov 29, 2019

I'm unable to maintain this, I apologize

@Tagar
Copy link
Author

Tagar commented Nov 29, 2019

thanks for letting us know @wesm

@elukey I've published sasl3 package on pypi
https://pypi.org/project/sasl3/
https://github.com/sparkur/python-sasl3

which is mostly master of cloudera/python-sasl plus this PR, plus #13
and a few smaller fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants